Page({
   onLoad(){
 
   this.getNotifyList()
  },
   async getNotifyList(){
    const {code , data} =   await wx.http.get('/announcement')
    if(code !== 10000) return wx.utils.toast()
    this.setData({
      notifyList : data
    })
  }
})
